package com.loma.aidl_demo

import android.app.Activity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.loma.aidl_demo.R
import com.loma.aidl_demo.databinding.ActivityMainBinding
import com.wxzl.community.common.base.ActivityBase
import com.wxzl.community.common.base.ViewModelBase
import com.wxzl.community.common.utils.ext.open
import com.wxzl.community.common.utils.ext.singleClick

class MainActivity() : ActivityBase<MainVM,ActivityMainBinding >() {
    override val layoutId: Int
        get() = R.layout.activity_main
    override val vmClass: Class<MainVM>
        get() = MainVM::class.java



    override fun initEvent() {
        super.initEvent()
        binding.textView.singleClick {
            open<TestActivity> {  }
        }

    }

}